Also that file should not be customised - for user launch stuff /opt/retropie/configs/all/autostart.sh should be used.
@phil123456 If you have updated with retropie-setup you should no longer have a 10-emulationstation.sh file (as herb has mentioned it will be 10-retropie.sh)